package com.ld.admin.model.countdown;

import java.io.Serializable;
import java.util.Date;

import com.ld.shieldsb.annotation.field.db.OnlyShow;
import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import lombok.Data;

/**
 * 
 * 倒计时牌(sys_user_countdown)
 * 
 * @ClassName SysUserCountdownModel
 * @author 刘金浩
 * @date 2019年09月02日 16:08:53
 *
 */
@Model(name = "倒计时牌")
@TableName("sys_user_countdown")
@Data
public class SysUserCountdownModel implements Serializable {
    private static final long serialVersionUID = -4661500078536187293L;

    /*主键*/
    private Long id;
    /*名称*/
    private String title;
    /*截至日期*/
    private Date endTime;
    /*背景颜色*/
    private String backgroundColor;
    /*序号*/
    private Integer xh;
    /*创建人*/
    private Long createBy;
    /*创建人姓名*/
    private String createName;
    /*创建时间*/
    private Date createTime;
    /*修改人*/
    private Long updateBy;
    /*修改人姓名*/
    private String updateName;
    /*修改时间*/
    private Date updateTime;
    /*状态0正常-1删除*/
    private Integer state;

    @OnlyShow
    private TimeModel timeModel;
    @OnlyShow
    private String endTimeStr; // 格式化的结束日期

    @OnlyShow
    private String countDownTimeStr; // 倒计时使用的格式日期

    @OnlyShow
    private String deplyBackgroundColor;

}
